home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group93b.txt / 000001_icon-group-sender _Fri Apr 16 20:46:38 1993.msg < prev    next >
Internet Message Format  |  1993-06-16  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 19 Apr 1993 05:11:36 MST
  2. Date: 16 Apr 93 20:46:38 GMT
  3. From: mercury.hsi.com!mlfarm!cs.arizona.edu!icon-group@uunet.uu.net  (Nathan Wharton)
  4. Subject: Unix Pipes and Amiga Icon
  5. Message-Id: <9304162046.AA20451@uahcs2.cs.uah.edu>
  6. Sender: icon-group-request@cs.arizona.edu
  7. To: icon-group@cs.arizona.edu
  8. Status: R
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10.  
  11. I have a question about reading from pipes within icon on unix, and a
  12. question about how to set up the IPATH variable on an Amiga 3000 running 2.1.
  13.  
  14. First, the pipe question.  I made a named pipe using the unix 'mknod'
  15. command with the p option.  Is there a way in icon that you can call some
  16. procedure to see if there is a data ready on the pipe?  What would be
  17. nice is a procedure that would return the line read in from the pipe, or
  18. else fail if no info is in the pipe.  The read function just waits
  19. until a line is there.
  20.  
  21. Second, on the Amiga, I can not get icont to link in ucode from other
  22. directories.  Here is an example of the problem:
  23. 9> echo $IPATH
  24. ICON:ucode
  25. 9> cd $IPATH
  26. 9> ls options*
  27. options.u1  options.u2
  28. 9> cd icon:progs
  29. 9> icont zipsort.icn
  30. Translating:
  31. zipsort.icn:
  32.   main (1174/15000)
  33. No errors
  34. Linking:
  35. icont: cannot resolve reference to file 'options.u1'
  36.  
  37. Thanks in advance.
  38. -- 
  39.                         Nathan Wharton
  40.                         nwharton@cs.uah.edu
  41.                         Work: (205)922-6000
  42.